<%-- 
    Document   : advertentie
    Created on : 6-mei-2012, 20:58:27
    Author     : Niels Leguit <niels.leguit at hva.nl>
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%-- Note: deze pagina moet aangeroepen worden vanuit een <ul> </ul> blok. --%>

<html>
    <body>
        <li>
        <h2>Advertorial</h2>
            <center>
                <c:choose>
                    <c:when test ="${advertentie.advWebsite != null}">
                        <a href="http://${advertentie.advWebsite}">
                            <img src="AdvertentieGetImage?advId=${advertentie.advId}"  alt="${advertentie.advAltTekst}" width="200" height="133"/></a>
                    </c:when>
                    <c:otherwise>
                        <a href="Contact"><img src="images/provincie/${rit.ritVanProvincie}.jpg"></a>
                    </c:otherwise>
                </c:choose>
            </center>
        </li>
    </body>
</html>


